#ifndef INDIGSTREAM_H_
#define INDIGSTREAM_H_

#include "Command.h"
#include "Protocol.h"
#include "Periodic.h"

class CommandInDigStream : public Command
{
public:
	CommandInDigStream() : Command()
	{
		MyCommandType = InDigStream;
		ArgumentsLength = 2;
	}

	FailCode DoCommand()
	{
		EnableDigitalStream(Arguments[0], (InputStreamMode)Arguments[1]);
		return Success;
	}
};

#endif
